{% extends "base.html" %}
{% block title %}
	首页
{% endblock %}
{% block head %}

{% endblock %}
{% block body %}
	<h1>首页</h1>
    {% for question in questions %}
        <ul>
            <li>
                <a href="/qa/detail/{{ question.id }}">{{ question.title }}</a><br/>
                <div>{{ question.content }}</div>
                <span>{{ question.author.username }}</span>
                <span>{{ question.create_time }}</span>
            </li>
        </ul>
    {% endfor %}

{% endblock %}